import { App } from 'vue'
import txt from './modules/txt'

const directives = [
    txt
]

export const directivePlugin = {
    install(app: App) {
        directives.forEach((item) => {
            app.directive(item.name, item)
        })
    }
}